<?php
class AboutAction extends Action{
	
    function _initialize() {
		
	}
	public function aboutus(){
	 $document=M('document')->where('document_id=2')->find();
	 //print_r($about);
	 $this->assign('document',$document);
	 $this->setTitle ( '关于我们' );
	 $this->display();
	
	}
	public function contactus(){
	 $document=M('document')->where('document_id=3')->find();
	 //print_r($about);
	 $this->assign('document',$document);
	 $this->setTitle ( '联系我们' );
	 $this->display();
	
	}
	public function friendlink(){
	
	 $this->setTitle ( '友情链接' );
	 $this->display();
	}
}
?>